<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$limit = '10';
$total = $this->$tela->count();
$config['base_url'] = base_url().$tela.'/listar/';
$config['total_rows'] = $total;
$config['per_page'] = $limit;
$config['uri_segment'] = '3';